package com.huixuebao.common.enumeration;

import lombok.Getter;

/**
 * @author yufatao
 * @version 1.0
 * @date 2020-11-01 20:52
 */

@Getter
public enum ResultCodeEnum {

    SUCCESS("0000", "成功"),

    FAILURE("9999", "失败"),

    DATA_PARSE_ERROR("9998", "数据解析失败"),

    ERROR_MESSAGE("111","错误消息"),

    ERROR_TOKENSIGNATURE("2222","无效签名"),

    ERROR_TOKENTIMEERROR("3333","access_token过期"),

    ERROR_TOKENALGORERROR("4444","access_token算法不一致"),

    ERROR_TOKEN("5555","access_token无效"),

    ERROR_SSNULL("7777","sqlserver数据来源为空，请确认是否有新增数据"),

    ;

    private String code;

    private String message;


    ResultCodeEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

}